home *** CD-ROM | disk | FTP | other *** search
/ PCMania 40 / PCMania CD40_1.iso / render40 / oca_a / luz.inc < prev    next >
Text File  |  1995-11-06  |  2KB  |  113 lines

  1. #include "shapes.inc"
  2. #include "texturas.inc"
  3.  
  4. #declare FLUORESCENTE=union{
  5.   light_source{ <.7, -3.5, 0> color rgb <1, 1, 1>}
  6.  
  7.   light_source{ <-.7, -3.5, 0> color rgb <1, 1, 1>}
  8.  
  9.  box {   // PARTE_CENTRAL
  10.   <-1, -1, -1>, <1, 1, 1>
  11.   texture {
  12.   Pared finish{ ambient .2 diffuse .5}
  13.   }
  14.   scale <0.3, 4.0, 0.3>
  15. }
  16.  
  17.  box {   // SUJETA_LUZ
  18.   <-1, -1, -1>, <1, 1, 1>
  19.   texture {
  20.   Pared finish {ambient .2 diffuse .5}
  21.   }
  22.   scale <0.3, 0.1, 0.3>
  23.   translate <0.3, -3.5, 0.0>
  24. }
  25.  
  26.  box {   // SUJETA_LUZ1
  27.   <-1, -1, -1>, <1, 1, 1>
  28.   texture {
  29.   Pared  finish {ambient .2 diffuse .5}
  30.   }
  31.   scale <0.5, 0.1, 0.3>
  32.   translate <0.3, 3.5, 0.0>
  33. }
  34.  
  35.  cylinder {   // LUZ
  36.   <0,0,1>, <0,0,0>, 1
  37.   texture {
  38.   Luz 
  39.   }
  40.   no_shadow
  41.   scale <0.3, 0.3, 7.0>
  42.   rotate <-90.0, 0.000000, 0.0>
  43.   translate <.7, -3.5, 0.0>
  44. }
  45.  
  46.  cylinder {   // LUZ1
  47.   <0,0,1>, <0,0,0>, 1
  48.   texture {
  49.   Luz  
  50.   }
  51.   no_shadow
  52.   scale <0.3, 0.3, 7.0>
  53.   rotate <-90.0, 0.0, 0.0>
  54.   translate <-.7, -3.5, 0.0>
  55. }
  56.  
  57.  box {   // SUJETA_LUZ2
  58.   <-1, -1, -1>, <1, 1, 1>
  59.   texture {
  60.   Pared finish {ambient .2 diffuse .5} 
  61.   }
  62.   scale <0.3, 0.1, 0.3>
  63.   translate <-0.3, -3.5, 0.0>
  64. }
  65.  
  66.  box {   // SUJETA_LUZ3
  67.   <-1, -1, -1>, <1, 1, 1>
  68.   texture {
  69.   Pared finish {ambient .2 diffuse .5}
  70.   }
  71.   scale <0.3, 0.1, 0.3>
  72.   translate <-0.3, 3.5, 0.0>
  73. }
  74.  
  75.  cylinder {   // UNE_LUZ
  76.   <0,0,1>, <0,0,0>, 1
  77.   texture {
  78.   Pared  finish {ambient .2 diffuse .5}
  79.   }
  80.   scale <0.3, 0.3, 0.3>
  81.   rotate <-90.0, 0.0, 0.0>
  82.   translate <.7, -3.6, 0.0>
  83. }
  84.  
  85.  cylinder {   // UNE_LUZ1
  86.   <0,0,1>, <0,0,0>, 1
  87.   texture {
  88.   Pared  finish {ambient .2 diffuse .5}
  89.   }
  90.   scale <0.3, 0.3, 0.3>
  91.   rotate <-90.0, 0.0, 0.0>
  92.   translate <.7, 3.6, 0.0>
  93. }
  94.  
  95.  cylinder {   // UNE_LUZ2
  96.   <0,0,1>, <0,0,0>, 1
  97.   texture {
  98.   Pared  finish {ambient .2 diffuse .5}
  99.   }
  100.   scale <0.3, 0.3, 0.3>
  101.   rotate <-90.0, 0.0, 0.0>
  102.   translate <-.7, 3.6, 0.0>
  103. }
  104.  
  105.  cylinder {   // UNE_LUZ3
  106.   <0,0,1>, <0,0,0>, 1
  107.   texture {
  108.   Pared  finish {ambient .2 diffuse .5}
  109.   }
  110.   scale <0.3, 0.3, 0.3>
  111.   rotate <-90.0, 0.0, 0.0>
  112.   translate <-.7, -3.6, 0.0>}
  113. }